package net.thxjj.adminServer.service;

import java.util.HashMap;
import java.util.List;

import net.thxjj.sitermodel.Device;
import org.springframework.stereotype.Component;

import net.thxjj.adminServer.util.ParameterMap;

@Component
public interface IDeviceService {
	public Device getDeviceInfo(String device_id);
	public List<Device> getDeviceList(String imei,String prod_key,List<Long> deviceStatusFilter,List<Long> netStatusFilter);
	public void updateDeviceOnline(ParameterMap pm);
	public void updateDeviceOffline(ParameterMap pm);
	public Integer getSmokeStatus(String device_id);
	public List<Device> getAllDeviceList();
	public HashMap<String, Object> modifyHeartTime(long min, String deviceId);
	public List<Device> getDeviceListByProductId(String productId);
	HashMap<String, Object> setDevicesUpdate(List<Device> listout,List<Device> listin);

	HashMap<String, Object> deleteDevice(Device device);
}
